/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.course.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.course.entity.TbTalentCourse;
import com.thinkgem.jeesite.modules.course.dao.TbTalentCourseDao;

/**
 * 精品课程Service
 * @author hang
 * @version 2017-01-14
 */
@Service
@Transactional(readOnly = true)
public class TbTalentCourseService extends CrudService<TbTalentCourseDao, TbTalentCourse> {

	public TbTalentCourse get(String id) {
		return super.get(id);
	}
	
	public List<TbTalentCourse> findList(TbTalentCourse tbTalentCourse) {
		return super.findList(tbTalentCourse);
	}
	
	public Page<TbTalentCourse> findPage(Page<TbTalentCourse> page, TbTalentCourse tbTalentCourse) {
		return super.findPage(page, tbTalentCourse);
	}
	
	@Transactional(readOnly = false)
	public void save(TbTalentCourse tbTalentCourse) {
		super.save(tbTalentCourse);
	}
	
	@Transactional(readOnly = false)
	public void delete(TbTalentCourse tbTalentCourse) {
		super.delete(tbTalentCourse);
	}
	
}